<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String url=(String)request.getAttribute("linkurl");
String message=(String)request.getAttribute("message");
%>
<script type="text/javascript">
	var urls=location.href;
	if(urls.indexOf('?')==-1){//wucan
		window.location.href='<%=basePath%>/daily/workplan/showMessage.jsp?linkUrl=<%=url %>'+'&message=<%=message%>';
	}else{
		window.location.href='<%=basePath%>/daily/workplan/showMessage.jsp?'+urls.split('?')[1]+'&linkUrl=<%=url %>'+'&message=<%=message%>';
	}
</script>